﻿using System;

using Silverstone;

namespace Silversocial.Client.Modules.Tests.Stubs
{
    public class AppShellStub : IAppShell
    {
        private User user;
        private Type typeNavigatedTo;

        public User User
        {
            get { return this.user; }
        }

        public Type TypeNavigatedTo
        {
            get { return this.typeNavigatedTo; }
        }

        User IAppShell.User
        {
            get { return this.user; }
            set { this.user = value; }
        }

        void IShell.Navigate<TView>()
        {
            this.typeNavigatedTo = typeof(TView);
        }
    }
}
